Auto merge of #1590 - alexcrichton:issue-1589, r=brson
authorbors <bors@rust-lang.org>
Thu, 7 May 2015 18:39:48 +0000 (18:39 +0000)
committerbors <bors@rust-lang.org>
Thu, 7 May 2015 18:39:48 +0000 (18:39 +0000)
Knowing the target architecture for calculating the filename is needed when
calculating the name of a dynamic library, and previously this was only taken
into account when a target was a plugin. Targets can, however, request that they
are built as a dynamic library which also needs to be taken into account.

Closes #1589


Trivial merge